realtek: pcs: add separate SerDes struct
authorJonas Jelonek <[email protected]>
Sat, 13 Dec 2025 10:12:35 +0000 (10:12 +0000)
committerRobert Marko <[email protected]>
Tue, 16 Dec 2025 12:38:13 +0000 (13:38 +0100)
commit40201e7f73b41c9539ea79d6cad112d53f8ef935
tree5d67a9a4e3974cf5a61393ae424088fdf8e29be3
parentb9e5803d046cbc92bbd758debcc13b055c0def26
realtek: pcs: add separate SerDes struct

Add a separate structure for a SerDes. This is needed to appropriately
store per-SerDes information, which in turn is needed for future work.
Additionally, it's intended to reduce boilerplate and several
inconsistencies.

Signed-off-by: Jonas Jelonek <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/21146
Signed-off-by: Robert Marko <[email protected]>
(cherry picked from commit 6b3f8fb16faf1e9c28b282340a112b2bcb06b0d3)
target/linux/realtek/files-6.12/drivers/net/pcs/pcs-rtl-otto.c